package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_books_order_details")
public class MallBooksOrderDetailsDO extends BaseEntity implements Serializable {
    /** 订单ID */
    @TableField("mall_books_order_id")
    private Long mallBooksOrderId;
    /** 规格ID */
    @TableField("specification_id")
    private Long specificationId;
    /** 书籍ID */
    @TableField("mall_books_id")
    private Long mallBooksId;
    /** 购买数量 */
    @TableField("quantity")
    private Long quantity;
    /** 单价 */
    @TableField("unit_price")
    private BigDecimal unitPrice;
    /** 是否记录 0：否 1：是 */
    @TableField("record_or_not")
    private Integer recordOrNot;
    /** 是否售后 0：否 1：是 */
    @TableField("is_refunds")
    private Integer isRefunds;
}
